package com.zc.microservice.system.core.infra.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zc.auth.security.core.access.meta.UrlPattenRoleEntity;
import com.zc.microservice.system.core.infra.entity.SystemUrlRole;
import com.zc.microservice.system.core.infra.mapper.SystemUrlRoleMapper;
import com.zc.microservice.system.core.infra.service.SystemUrlRoleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * *
 *
 * @author zcj
 * @version 1.0.0
 * @date 2022/5/13 17:46
 */
@Service
public class SystemUrlRoleServiceImpl extends ServiceImpl<SystemUrlRoleMapper, SystemUrlRole> implements SystemUrlRoleService {

    @Override
    public List<UrlPattenRoleEntity> queryRoleUrlPattens(String serverName) {
        return this.baseMapper.queryRoleUrlPattens(serverName);
    }
}
